﻿#ifndef DIALOGMODIFYCASE_H
#define DIALOGMODIFYCASE_H

#include "Common/ekecase.h"
#include <QDialog>

namespace Ui {
class DialogModifyCase;
}

class DialogModifyCase : public QDialog
{
    Q_OBJECT

public:
    explicit DialogModifyCase(QWidget *parent = nullptr);
    explicit DialogModifyCase(EKEChildCase& childCase,QWidget *parent = nullptr);
    ~DialogModifyCase();
    EKEChildCase GetChildCase();
private slots:
    void on_btn_ensure_clicked();
    void on_btn_cancel_clicked();

private:
    void showEditInfo();
    void setEKEchildCase();
private:
    Ui::DialogModifyCase *ui;
    EKEChildCase _childCase;
};

#endif // DIALOGMODIFYCASE_H
